<%@page import="java.text.NumberFormat"%>
<%@page import="models.Domain"%>
<%@page import="com.googlecode.objectify.Query"%>
<%
	Query<Domain> list = (Query<Domain>) request.getAttribute("list");
	String ip = (String) request.getAttribute("ip");
	NumberFormat nf = NumberFormat.getInstance();
	String title = "Adsense " + ip;
	String description = "Adsense " + ip
			+ ".The domain has the same Adsense " + ip
			+ " on showsiteinfo";
	String keyword = ip + "," + "ip,ip address,adsense";
%>

<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title%>"/>
	<jsp:param name="description" value="<%=description%>"/>
	<jsp:param name="keywords" value="<%=keyword%>"/>
</jsp:include>

<div class="bd">
		<div class="l">
			<div class="rib">
				<h2><%=ip%></h2>
			</div>
			<div class="cont">
				<p>Site same adsense <%=ip%></p>
			<div id="featuredservice">
				<table class="exp">
					<tr>
						<th>Domain</th>
						<th>Google pagerank</th>
						<th>Alexa rank</th>
					</tr>
					<%
						if (list.count() > 0) {
							for (Domain ar : list) {
					%>
					<tr>
						<td><a href="/sites/<%=ar.getDomain()%>"><%=ar.getDomain()%></a></td>
						<td><%=ar.getGooglepr()%></td>
						<td><%=nf.format(ar.getAlexa())%></td>
					</tr>
					<%
						}
						}
					%>
				</table>
			</div>
		</div>
		</div>
		<div class="r">
			<%@ include file='/element/search.jsp'%>
			
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
                        
            <div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
		</div>
	</div>

 <jsp:include page="layout/footer.jsp"></jsp:include>           